package com.moli.iov.his.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 告警/故障全量统计
 * </p>
 *
 * @author sy
 * @since 2018-12-07
 */
public class ReportTotalAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 报警数量
     */
    private Integer alarmCount;

    /**
     * 故障数量
     */
    private Integer faultCount;

    /**
     * 统计时间范围
     */
    private LocalDateTime statDate;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 删除标识
     */
    private Integer isDelete;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public Integer getFaultCount() {
        return faultCount;
    }

    public void setFaultCount(Integer faultCount) {
        this.faultCount = faultCount;
    }

    public LocalDateTime getStatDate() {
        return statDate;
    }

    public void setStatDate(LocalDateTime statDate) {
        this.statDate = statDate;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "ReportTotalAlarm{" +
        "id=" + id +
        ", alarmCount=" + alarmCount +
        ", faultCount=" + faultCount +
        ", statDate=" + statDate +
        ", gmtCreate=" + gmtCreate +
        ", isDelete=" + isDelete +
        ", gmtModified=" + gmtModified +
        "}";
    }
}
